home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 48 |c.Subjec|t: Re: H|
|00000080| 45 4c 50 21 21 21 20 53 | 70 6c 69 74 74 69 6e 67 |ELP!!! S|plitting|
|00000090| 20 73 74 72 69 6e 67 73 | 0a 44 61 74 65 3a 20 57 | strings|.Date: W|
|000000a0| 65 64 2c 20 32 30 20 4d | 61 72 20 31 39 39 36 20 |ed, 20 M|ar 1996 |
|000000b0| 31 31 3a 32 39 3a 35 31 | 20 2d 30 36 30 30 0a 4f |11:29:51| -0600.O|
|000000c0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 55 6e 69 |rganizat|ion: Uni|
|000000d0| 76 65 72 73 69 74 79 20 | 6f 66 20 49 6f 77 61 2c |versity |of Iowa,|
|000000e0| 20 49 6f 77 61 20 43 69 | 74 79 2c 20 49 41 2c 20 | Iowa Ci|ty, IA, |
|000000f0| 55 53 41 0a 44 69 73 74 | 72 69 62 75 74 69 6f 6e |USA.Dist|ribution|
|00000100| 3a 20 77 6f 72 6c 64 0a | 4d 65 73 73 61 67 65 2d |: world.|Message-|
|00000110| 49 44 3a 20 3c 50 69 6e | 65 2e 41 33 32 2e 33 2e |ID: <Pin|e.A32.3.|
|00000120| 39 31 2e 39 36 30 33 32 | 30 31 31 32 35 35 34 2e |91.96032|0112554.|
|00000130| 34 37 38 37 33 44 2d 31 | 30 30 30 30 30 40 72 65 |47873D-1|00000@re|
|00000140| 64 2e 77 65 65 67 2e 75 | 69 6f 77 61 2e 65 64 75 |d.weeg.u|iowa.edu|
|00000150| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 50 |>.Refere|nces: <P|
|00000160| 69 6e 65 2e 53 55 4e 2e | 33 2e 39 31 2e 39 36 30 |ine.SUN.|3.91.960|
|00000170| 33 32 30 30 39 34 30 33 | 32 2e 35 31 31 37 41 2d |32009403|2.5117A-|
|00000180| 31 30 30 30 30 30 40 61 | 6c 74 61 69 72 2e 68 65 |100000@a|ltair.he|
|00000190| 72 74 73 2e 61 63 2e 75 | 6b 3e 0a 4e 4e 54 50 2d |rts.ac.u|k>.NNTP-|
|000001a0| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 72 65 |Posting-|Host: re|
|000001b0| 64 2e 77 65 65 67 2e 75 | 69 6f 77 61 2e 65 64 75 |d.weeg.u|iowa.edu|
|000001c0| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|000001d0| 2e 30 0a 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |.0.Conte|nt-Type:|
|000001e0| 20 54 45 58 54 2f 50 4c | 41 49 4e 3b 20 63 68 61 | TEXT/PL|AIN; cha|
|000001f0| 72 73 65 74 3d 55 53 2d | 41 53 43 49 49 0a 58 2d |rset=US-|ASCII.X-|
|00000200| 53 65 6e 64 65 72 3a 20 | 72 6f 62 69 6e 73 6f 6e |Sender: |robinson|
|00000210| 40 72 65 64 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |@red.wee|g.uiowa.|
|00000220| 65 64 75 0a 49 6e 2d 52 | 65 70 6c 79 2d 54 6f 3a |edu.In-R|eply-To:|
|00000230| 20 3c 50 69 6e 65 2e 53 | 55 4e 2e 33 2e 39 31 2e | <Pine.S|UN.3.91.|
|00000240| 39 36 30 33 32 30 30 39 | 34 30 33 32 2e 35 31 31 |96032009|4032.511|
|00000250| 37 41 2d 31 30 30 30 30 | 30 40 61 6c 74 61 69 72 |7A-10000|0@altair|
|00000260| 2e 68 65 72 74 73 2e 61 | 63 2e 75 6b 3e 20 0a 0a |.herts.a|c.uk> ..|
|00000270| 4f 6e 20 57 65 64 2c 20 | 32 30 20 4d 61 72 20 31 |On Wed, |20 Mar 1|
|00000280| 39 39 36 2c 20 57 61 79 | 6e 65 20 52 6f 77 6c 65 |996, Way|ne Rowle|
|00000290| 79 20 77 72 6f 74 65 3a | 0a 0a 3e 20 0a 3e 20 43 |y wrote:|..> .> C|
|000002a0| 61 6e 20 61 6e 79 6f 6e | 65 20 68 65 6c 70 20 6d |an anyon|e help m|
|000002b0| 65 20 77 69 74 68 20 74 | 68 69 73 20 70 72 6f 62 |e with t|his prob|
|000002c0| 6c 65 6d 3a 20 49 27 6d | 20 74 72 79 69 6e 67 20 |lem: I'm| trying |
|000002d0| 74 6f 20 73 70 6c 69 74 | 20 6c 61 72 67 65 72 20 |to split| larger |
|000002e0| 73 74 72 69 6e 67 73 20 | 0a 3e 20 69 6e 74 6f 20 |strings |.> into |
|000002f0| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 73 6d 61 6c |a number| of smal|
|00000300| 6c 65 72 20 73 74 72 69 | 6e 67 73 2c 20 66 6f 72 |ler stri|ngs, for|
|00000310| 20 65 78 61 6d 70 6c 65 | 3a 0a 3e 20 0a 3e 20 20 | example|:.> .> |
|00000320| 22 74 68 69 73 69 73 61 | 73 74 72 69 6e 67 22 20 |"thisisa|string" |
|00000330| 74 6f 20 22 74 68 69 73 | 22 20 22 69 73 22 20 22 |to "this|" "is" "|
|00000340| 61 22 20 22 73 74 72 69 | 6e 67 22 0a 0a 23 69 6e |a" "stri|ng"..#in|
|00000350| 63 6c 75 64 65 20 3c 73 | 74 64 69 6f 2e 68 3e 0a |clude <s|tdio.h>.|
|00000360| 0a 20 20 63 68 61 72 20 | 73 74 72 5b 5d 20 3d 20 |. char |str[] = |
|00000370| 22 74 68 69 73 69 73 61 | 73 74 72 69 6e 67 22 2c |"thisisa|string",|
|00000380| 0a 20 20 20 20 20 20 20 | 73 31 5b 35 5d 2c 0a 20 |. |s1[5],. |
|00000390| 20 20 20 20 20 20 73 32 | 5b 33 5d 2c 0a 20 20 20 | s2|[3],. |
|000003a0| 20 20 20 20 73 33 5b 32 | 5d 2c 0a 20 20 20 20 20 | s3[2|],. |
|000003b0| 20 20 73 34 5b 37 5d 3b | 0a 0a 20 20 73 73 63 61 | s4[7];|.. ssca|
|000003c0| 6e 66 28 73 74 72 2c 20 | 22 25 34 73 25 32 73 25 |nf(str, |"%4s%2s%|
|000003d0| 31 73 25 36 73 22 2c 20 | 73 31 2c 20 73 32 2c 20 |1s%6s", |s1, s2, |
|000003e0| 73 33 2c 20 73 34 29 3b | 0a 0a 20 20 73 73 63 61 |s3, s4);|.. ssca|
|000003f0| 6e 66 28 29 20 69 73 20 | 69 6e 20 3c 73 74 64 69 |nf() is |in <stdi|
|00000400| 6f 2e 68 3e 0a 0a 3e 20 | 49 20 63 61 6e 27 74 20 |o.h>..> |I can't |
|00000410| 73 65 65 6d 20 74 6f 20 | 67 65 74 20 43 20 74 6f |seem to |get C to|
|00000420| 20 64 6f 20 69 74 20 70 | 72 6f 70 65 72 6c 79 2e | do it p|roperly.|
|00000430| 20 49 20 6b 6e 6f 77 20 | 74 68 61 74 20 43 20 69 | I know |that C i|
|00000440| 73 20 6e 6f 74 20 61 20 | 67 6f 6f 64 20 0a 3e 20 |s not a |good .> |
|00000450| 6c 61 6e 67 75 61 67 65 | 20 66 6f 72 20 6d 61 6e |language| for man|
|00000460| 69 70 75 6c 61 74 69 6e | 67 20 73 74 72 69 6e 67 |ipulatin|g string|
|00000470| 73 2c 20 61 6e 64 20 74 | 68 65 72 65 20 64 6f 65 |s, and t|here doe|
|00000480| 73 6e 27 74 20 73 65 65 | 6d 20 74 6f 20 62 65 20 |sn't see|m to be |
|00000490| 61 6e 79 74 68 69 6e 67 | 20 0a 3e 20 69 6e 20 73 |anything| .> in s|
|000004a0| 74 72 69 6e 67 2e 68 20 | 74 6f 20 68 65 6c 70 2e |tring.h |to help.|
|000004b0| 20 44 6f 65 73 20 61 6e | 79 6f 6e 65 20 68 61 76 | Does an|yone hav|
|000004c0| 65 20 61 6e 79 20 69 64 | 65 61 73 3f 0a 0a 20 20 |e any id|eas?.. |
|000004d0| 54 68 65 20 65 78 61 6d | 70 6c 65 20 61 62 6f 76 |The exam|ple abov|
|000004e0| 65 20 77 6f 75 6c 64 20 | 62 65 20 64 69 66 66 69 |e would |be diffi|
|000004f0| 63 75 6c 74 20 74 6f 20 | 64 6f 20 69 6e 20 61 6e |cult to |do in an|
|00000500| 79 20 6c 61 6e 67 75 61 | 67 65 2c 20 62 65 63 61 |y langua|ge, beca|
|00000510| 75 73 65 20 0a 74 68 65 | 72 65 20 61 72 65 20 6e |use .the|re are n|
|00000520| 6f 20 64 65 6c 69 6d 69 | 74 65 72 73 20 62 65 74 |o delimi|ters bet|
|00000530| 77 65 65 6e 20 74 68 65 | 20 77 6f 72 64 73 2e 0a |ween the| words..|
|00000540| 0a 2f 2a 2a 4a 61 6d 65 | 73 20 52 6f 62 69 6e 73 |./**Jame|s Robins|
|00000550| 6f 6e 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |on******|********|
|00000560| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 20 20 20 20 20 20 20 |********|* |
|00000570| 20 20 20 20 20 0a 20 20 | 22 49 66 20 61 20 66 61 | . |"If a fa|
|00000580| 74 61 6c 20 65 72 72 6f | 72 20 6f 63 63 75 72 73 |tal erro|r occurs|
|00000590| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 73 68 |, the pr|ogram sh|
|000005a0| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 61 6c 6c 6f |ould not| be allo|
|000005b0| 77 65 64 20 74 6f 20 63 | 6f 6e 74 69 6e 75 65 2e |wed to c|ontinue.|
|000005c0| 22 0a 20 2d 2d 20 4f 72 | 61 63 6c 65 20 50 72 6f |". -- Or|acle Pro|
|000005d0| 2a 43 20 55 73 65 72 27 | 73 20 47 75 69 64 65 20 |*C User'|s Guide |
|000005e0| 20 20 20 20 20 20 20 20 | 2a 2a 2a 2a 2a 2a 2a 2a | |********|
|000005f0| 2a 2a 2a 2a 2a 6a 61 6d | 65 73 2d 72 6f 62 69 6e |*****jam|es-robin|
|00000600| 73 6f 6e 40 75 69 6f 77 | 61 2e 65 64 75 2a 2a 2f |son@uiow|a.edu**/|
|00000610| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+